<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
</style>
<script>
// app.js
export default {
    data() {
        return {};
    },
    onLaunch() {
        // 展示本地存储能力
        const logs = uni.getStorageSync('logs') || [];
        logs.unshift(Date.now());
        uni.setStorageSync('logs', logs);

        //头部
        uni.db = {};
        let info = uni.getSystemInfoSync();
        uni.db.statusbarhright = info.statusBarHeight;
        // if(info.platform ==='android'){
        //   wx.db.navbarheight = 48
        // }
        // console.log(info);

        // 登录
        uni.login({
            success: (res) => {
                // 发送 res.code 到后台换取 openId, sessionKey, unionId
            }
        });
    },
    globalData: {
        userInfo: null,
		appid:"wx6ebdef6324ec7e00",
		secret:""
    }
};
</script>
<style>
/**app.wxss**/
</style>
